package yns.utility;

import java.io.IOException;

import yns.properties.PropertiesHelper;

public class UtilityProperties {
	private static UtilityProperties instance = new UtilityProperties();
	private static PropertiesHelper system;
	
	private UtilityProperties() {
		try {
			system = new PropertiesHelper(UtilityProperties.class, "/config/system.properties");
		} catch (IOException e) {
			e.printStackTrace();
		}

	}

	public static UtilityProperties getInstance() {
		return instance;
	}
	
	public static String getSystemValue(String key){
		return system.getValue(key);
	}

}
